package com.bean;

/**
 * @ClassName BookType
 * @Desc 书本类型
 * @Author xiaoding
 * @Date 2021/1/10 16:00
 * @Version 1.0
 */

public class BookType {
    //功能属性
    private int bId;
    private String bName;

    //构造方法
    public BookType() {}
    public BookType(int bId, String bName) {
        this.bId = bId;
        this.bName = bName;
    }
    public BookType(String bName) {
        this.bName = bName;
    }

    //get、set方法
    public int getbId() {
        return bId;
    }

    public String getbName() {
        return bName;
    }

    public void setbId(int bId) {
        this.bId = bId;
    }

    public void setbName(String bName) {
        this.bName = bName;
    }

    @Override
    public String toString() {
        return "BookType{" +
                "bId=" + bId +
                ", bName='" + bName + '\'' +
                '}';
    }
}
